From: Marco Trevisan (TreviƱo) Date: Tue, 18 Jun 2019 22:24:01 +0000 (+0200) Subject: keyboard: Add extended keys and language popups to top window group X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~135 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4e84b46c9b96f33d5e5d6fac4b70e1bc6403783a;p=gnome-shell.git keyboard: Add extended keys and language popups to top window group As per commit 2bd80579ed important actors are added to the top window group using the layout's addTopChrome method. This group includes the on-screen keyboard, however its popups were not added and so they are now shown under the OSK and don't receive any input. Fix this by adding Language popup and extended keys popup to top chrome. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1396 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/583 --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index b57aeec0c..b6a26663a 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -282,7 +282,7 @@ var Key = class Key { y_fill: true, x_align: St.Align.START }); this._boxPointer.hide(); - Main.layoutManager.addChrome(this._boxPointer); + Main.layoutManager.addTopChrome(this._boxPointer); this._boxPointer.setPosition(this.keyButton, 0.5); // Adds style to existing keyboard style to avoid repetition @@ -1306,7 +1306,7 @@ var Keyboard = class Keyboard { this._languagePopup.destroy(); this._languagePopup = new LanguageSelectionPopup(keyActor); - Main.layoutManager.addChrome(this._languagePopup.actor); + Main.layoutManager.addTopChrome(this._languagePopup.actor); this._languagePopup.open(true); }